#ifndef FFMPEGEXTRA_EYERWASMINDEXEDDB_CLOSEEVENT_HPP
#define FFMPEGEXTRA_EYERWASMINDEXEDDB_CLOSEEVENT_HPP

#include "EyerWASMCommon/EyerWASMEvent.hpp"
#include "EyerWASMCommon/EyerWASMBuffer.hpp"

namespace Eyer
{
    class EyerWASMIndexedDB_CloseEvent : public EyerWASMEvent
    {
    public:
        EyerWASMIndexedDB_CloseEvent(int indexedDBKey);
        ~EyerWASMIndexedDB_CloseEvent();

        virtual int Run() override;

        int EyerWASMIndexedDB_CloseEvent_Close_OnSucc();

    private:
        int m_indexedDBKey = 0;
    };
}

#endif //FFMPEGEXTRA_EYERWASMINDEXEDDB_CLOSEEVENT_HPP
